#ifndef GRIDLAYOUT_SPACERS_H
#define GRIDLAYOUT_SPACERS_H

#include <QWidget>
#include<QGridLayout>//网格控件头文件
#include<QLabel>//标签控件头文件
#include<QPushButton>//命令按钮头文件
QT_BEGIN_NAMESPACE
namespace Ui {
class GridLayout_Spacers;
}
QT_END_NAMESPACE

class GridLayout_Spacers : public QWidget
{
    Q_OBJECT

public:
    GridLayout_Spacers(QWidget *parent = nullptr);

    //定义网格布局的控件
    QGridLayout* grid;

    //定义四个需要放在网格布局里的按钮
    QPushButton* btn1;
    QPushButton* btn2;
    QPushButton* btn3;
    QPushButton* btn4;


    ~GridLayout_Spacers();

private:
    Ui::GridLayout_Spacers *ui;
};
#endif // GRIDLAYOUT_SPACERS_H
